package com.agilerabbit.tools;

public class Coordinate {
	
	public String lattitude = "";
	public String longitude = "";
	
	public int getLatitudeInt()
	{
		int retval = 0;
		try
		{
			double d = Double.parseDouble(this.lattitude)  * 1e6;			
			retval =  (int)d;
		}
		catch(Exception ex)
		{
			
		}
		
		return retval;		
	}
	
	
	public int getLongitudeInt()
	{
		int retval = 0;
		try
		{
			double d = Double.parseDouble(this.longitude)  * 1e6;			
			retval =  (int)d;
		}
		catch(Exception ex)
		{
			
		}
		
		return retval;		
	}

}
